package com.example.hxds.odr.controller.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @Author XUYANG
 * @Date 2024-03-26 16:08
 */
@Data
@Schema(description = "查询订单信息用于司乘同显")
public class SearchOrderForMoveByIdForm {
    @NotNull(message = "orderId不能为空")
    @Min(value = 1,message = "orderId不能小于1")
    @Schema(description = "订单ID")
    private  Long orderId;

    @Min(value = 1,message = "driverId不能小于1")
    @Schema(description = "司机ID")
    private  Long driverId;

    @Min(value = 1,message = "customerId不能小于1")
    @Schema(description = "乘客ID")
    private  Long customerId;
}
